package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 渠道，一个公司有多个渠道，一个渠道有多个游戏表 channel
 * 
 * @author ruoyi
 * @date 2019-05-28
 */
public class Channel extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 渠道编号 */
	private Integer id;
	/** 游戏代码 */
	private Integer gameId;
	/** 渠道原始号 */
	private Integer channelCode;
	/** 公司代码 */
	private Integer companyId;
	/** 付费率 */
	private String chargeRates;
	/** 留存率 */
	private String stayRates;
	/** 状态 */
	private Integer status;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setGameId(Integer gameId) 
	{
		this.gameId = gameId;
	}

	public Integer getGameId() 
	{
		return gameId;
	}
	public void setChannelCode(Integer channelCode) 
	{
		this.channelCode = channelCode;
	}

	public Integer getChannelCode() 
	{
		return channelCode;
	}
	public void setCompanyId(Integer companyId) 
	{
		this.companyId = companyId;
	}

	public Integer getCompanyId() 
	{
		return companyId;
	}
	public void setChargeRates(String chargeRates) 
	{
		this.chargeRates = chargeRates;
	}

	public String getChargeRates() 
	{
		return chargeRates;
	}
	public void setStayRates(String stayRates) 
	{
		this.stayRates = stayRates;
	}

	public String getStayRates() 
	{
		return stayRates;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gameId", getGameId())
            .append("channelCode", getChannelCode())
            .append("companyId", getCompanyId())
            .append("chargeRates", getChargeRates())
            .append("stayRates", getStayRates())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
